DeviceCollection

Object Hierarchy

継承

SIObject

ProjectItem

DeviceCollection

説明

Deviceドライバのコレクションを使用し、Softimage のさまざまなデバイスドライバにアクセスできます。このオブジェクトは、デバイスマネージャのスクリプト機能に相当し、デバイスの有効化/無効化や追加/削除などを実行できます。

メソッド

AddCustomOp AddDevice AddScriptedOp AddScriptedOpFromFile
AnimatedParameters2 BelongsToオペレータ EvaluateAt GetICEAttributeFromName
IsA IsAnimated2 IsClassOfオペレータ IsEqualToオペレータ
IsKindOf IsLockedオペレータ IsSelectedオペレータ LockOwners
RemoveDevice SetAsSelectedオペレータ SetCapabilityFlagオペレータ SetLock
TaggedParameters UnSetLock    
       

プロパティ

Application BranchFlagオペレータ Capabilitiesオペレータ Categories
Count Enable EvaluationID Familiesオペレータ
FullNameオペレータ Help HierarchicalEvaluationID ICEAttributes
Item LockLevelオペレータ LockMastersオペレータ LockTypeオペレータ
Model Nameオペレータ NestedObjects ObjectID
Origin OriginPath Owners PPGLayoutオペレータ
Parametersオペレータ Parent Parent3DObject Selectedオペレータ
Typeオペレータ      
       

VBScript の例

'
' This example demonstrates how to work with devices through scripting.
'
NewScene , false
' First make sure the device manager is active (we can't add devices if it isn't)
if Not(Application.Devices.Enable) then
        Application.Devices.Enable = true
end if
' Get the DeviceManager (DeviceCollection)
set oDevices = Application.Devices
' Get a pointer to the PC1600 Device, if it exists
set oDevice = oDevices.Item("PC1600")
' If it doesn't exist, then create it
if TypeName(oDevice) = "Nothing" then
        set oDevice = oDevices.AddDevice( "PC1600" )
end if
LogMessage "The device name is " & oDevice
'INFO : The device name is DeviceManager.PC1600

関連項目

XSIApplication.Devices Device Channel